package cn.it.bcrypt;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class Bcrypt {
    public static void main(String[] args) {
        BCryptPasswordEncoder bc =new BCryptPasswordEncoder();
        String encode = bc.encode("123456");
        System.out.println(encode);
    }
}
